#seven seg test
lui $1, 0xFFFF     # r1 = 0xFFFF0000
lui $2, 0x0030     # r2 = 0x00300000
ori $3, $2, 0x00AB # r3 = 0x003000AB
ori $2, $0, 0xF    # r2 = 0x0000000F
sw $2, 0x80($1)    # turn on the seven segs
sw $3, 0x84($1)    # change the first two seven segs to AB
loop: j loop       # loop here forever